﻿using Abp.Application.Services;
using RMM.Areas.Dtos;
using RMM.FrameWork;
using RMM.Shops.Dtos;
using Swashbuckle.Swagger.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace RMM.Areas
{
    public interface IAreasAppService : IApplicationService
    {
        /// <summary>
        /// 获取省市列表
        /// </summary>
        /// <param name="b">0所有 1已推广</param>
        /// <returns></returns>
        [HttpGet,HiddenApi]
        [SwaggerResponse(HttpStatusCode.OK, Type = typeof(List<ProvDto>))]
        Task<ResultDto> GetList(int b);

        /// <summary>
        /// 获取市 列表
        /// </summary>
        /// <param name="b">0所有 1已推广</param>
        /// <returns></returns>
        [HttpGet]
        [SwaggerResponse(HttpStatusCode.OK, Type = typeof(List<AreaOutPutDto>))]
        Task<ResultDto> GetCityList(int b);
    }
}
